package com.lmc.shuiyin.two.utils;


import org.opencv.core.Core;

public class TwoMain {
    static{
        //加载opencv动态库
        System.loadLibrary(Core.NATIVE_LIBRARY_NAME);
    }
    public static void main(String[] args){
        WaterMarkDFT.embed("C:\\tools\\meinv.png","huafu","C:\\tools\\meinv2.png");//保存加过水印的图片
        //读取图片水印
        WaterMarkDFT.extract("C:\\tools\\meinv2.png", "C:\\tools\\meinv3.png");
        //部分截图
        WaterMarkDFT.extract("C:\\tools\\444.png", "C:\\tools\\555.png");
    }
}
